<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.9.1"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>fdk-aac: original/libAACdec/include/aacdecoder_lib.h File Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">fdk-aac
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.9.1 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search','.html');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="dir_ed137715e08969a186ec660e8ae6e2fb.html">original</a></li><li class="navelem"><a class="el" href="dir_567c3d26e49279b9b333522ab6afbde5.html">libAACdec</a></li><li class="navelem"><a class="el" href="dir_a198c44f46d489b4bf251c7cd948ddfc.html">include</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#nested-classes">Classes</a> &#124;
<a href="#define-members">Macros</a> &#124;
<a href="#typedef-members">Typedefs</a> &#124;
<a href="#enum-members">Enumerations</a> &#124;
<a href="#func-members">Functions</a>  </div>
  <div class="headertitle">
<div class="title">aacdecoder_lib.h File Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p>FDK AAC decoder library interface header file.  
<a href="#details">More...</a></p>
<div class="textblock"><code>#include &quot;<a class="el" href="machine__type_8h_source.html">machine_type.h</a>&quot;</code><br />
<code>#include &quot;<a class="el" href="_f_d_k__audio_8h_source.html">FDK_audio.h</a>&quot;</code><br />
<code>#include &quot;<a class="el" href="generic_stds_8h_source.html">genericStds.h</a>&quot;</code><br />
</div>
<p><a href="aacdecoder__lib_8h_source.html">Go to the source code of this file.</a></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="nested-classes"></a>
Classes</h2></td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_c_stream_info.html">CStreamInfo</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">This structure gives information about the currently decoded audio data. All fields are read-only.  <a href="struct_c_stream_info.html#details">More...</a><br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="define-members"></a>
Macros</h2></td></tr>
<tr class="memitem:a2cc81b435eec24b3ebb0c7c488b3a1e7"><td class="memItemLeft" align="right" valign="top"><a id="a2cc81b435eec24b3ebb0c7c488b3a1e7"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><b>AACDECODER_LIB_VL0</b>&#160;&#160;&#160;3</td></tr>
<tr class="separator:a2cc81b435eec24b3ebb0c7c488b3a1e7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a310aac760433d94bd0b467fe53ee3fdb"><td class="memItemLeft" align="right" valign="top"><a id="a310aac760433d94bd0b467fe53ee3fdb"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><b>AACDECODER_LIB_VL1</b>&#160;&#160;&#160;2</td></tr>
<tr class="separator:a310aac760433d94bd0b467fe53ee3fdb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa30373c9d9d273670d5a94c08ecf986b"><td class="memItemLeft" align="right" valign="top"><a id="aa30373c9d9d273670d5a94c08ecf986b"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><b>AACDECODER_LIB_VL2</b>&#160;&#160;&#160;0</td></tr>
<tr class="separator:aa30373c9d9d273670d5a94c08ecf986b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a388a21070208ec23217c4ff8f8d98754"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="aacdecoder__lib_8h.html#a388a21070208ec23217c4ff8f8d98754">IS_INIT_ERROR</a>(err)</td></tr>
<tr class="separator:a388a21070208ec23217c4ff8f8d98754"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac2c358d4ac0d7747cae32f9f45c20f71"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="aacdecoder__lib_8h.html#ac2c358d4ac0d7747cae32f9f45c20f71">IS_DECODE_ERROR</a>(err)</td></tr>
<tr class="separator:ac2c358d4ac0d7747cae32f9f45c20f71"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af59d78a4583ca81ccb2675dce592b812"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="aacdecoder__lib_8h.html#af59d78a4583ca81ccb2675dce592b812">IS_OUTPUT_VALID</a>(err)&#160;&#160;&#160;(((err) == <a class="el" href="aacdecoder__lib_8h.html#afbc7e8b4f1613dfd8cb91b681eeb9d41a71440b5535812faf92a0fe99275dd5f0">AAC_DEC_OK</a>) || <a class="el" href="aacdecoder__lib_8h.html#ac2c358d4ac0d7747cae32f9f45c20f71">IS_DECODE_ERROR</a>(err))</td></tr>
<tr class="separator:af59d78a4583ca81ccb2675dce592b812"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae09502f250437ee519971ca3a95ac9e0"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="aacdecoder__lib_8h.html#ae09502f250437ee519971ca3a95ac9e0">AACDEC_CONCEAL</a>&#160;&#160;&#160;1</td></tr>
<tr class="separator:ae09502f250437ee519971ca3a95ac9e0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8bc17277db0f7651065f62d66f92ed9f"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="aacdecoder__lib_8h.html#a8bc17277db0f7651065f62d66f92ed9f">AACDEC_FLUSH</a>&#160;&#160;&#160;2</td></tr>
<tr class="separator:a8bc17277db0f7651065f62d66f92ed9f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abc8ebc3d720699fe1d7c27eccd3da051"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="aacdecoder__lib_8h.html#abc8ebc3d720699fe1d7c27eccd3da051">AACDEC_INTR</a>&#160;&#160;&#160;4</td></tr>
<tr class="separator:abc8ebc3d720699fe1d7c27eccd3da051"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4666e424f482470e872827f66399454a"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="aacdecoder__lib_8h.html#a4666e424f482470e872827f66399454a">AACDEC_CLRHIST</a>&#160;&#160;&#160;8</td></tr>
<tr class="separator:a4666e424f482470e872827f66399454a"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="typedef-members"></a>
Typedefs</h2></td></tr>
<tr class="memitem:aa9ba2e98e71adc41124eaf8d6e5d6f2d"><td class="memItemLeft" align="right" valign="top">typedef struct <a class="el" href="struct_a_a_c___d_e_c_o_d_e_r___i_n_s_t_a_n_c_e.html">AAC_DECODER_INSTANCE</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="aacdecoder__lib_8h.html#aa9ba2e98e71adc41124eaf8d6e5d6f2d">HANDLE_AACDECODER</a></td></tr>
<tr class="separator:aa9ba2e98e71adc41124eaf8d6e5d6f2d"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="enum-members"></a>
Enumerations</h2></td></tr>
<tr class="memitem:afbc7e8b4f1613dfd8cb91b681eeb9d41"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="aacdecoder__lib_8h.html#afbc7e8b4f1613dfd8cb91b681eeb9d41">AAC_DECODER_ERROR</a> { <br />
&#160;&#160;<a class="el" href="aacdecoder__lib_8h.html#afbc7e8b4f1613dfd8cb91b681eeb9d41a71440b5535812faf92a0fe99275dd5f0">AAC_DEC_OK</a>
, <a class="el" href="aacdecoder__lib_8h.html#afbc7e8b4f1613dfd8cb91b681eeb9d41afdf896f1fefa0b962ef99c6cb2681027">AAC_DEC_OUT_OF_MEMORY</a>
, <a class="el" href="aacdecoder__lib_8h.html#afbc7e8b4f1613dfd8cb91b681eeb9d41af1e591927344a1a91c49b87efe3fb0b9">AAC_DEC_UNKNOWN</a>
, <b>aac_dec_sync_error_start</b> = 0x1000
, <br />
&#160;&#160;<a class="el" href="aacdecoder__lib_8h.html#afbc7e8b4f1613dfd8cb91b681eeb9d41adbb894fd8e900c4993f57ae88f8aee1a">AAC_DEC_TRANSPORT_SYNC_ERROR</a> = 0x1001
, <a class="el" href="aacdecoder__lib_8h.html#afbc7e8b4f1613dfd8cb91b681eeb9d41ad8e91a23786bc032e507dfbd036f63c4">AAC_DEC_NOT_ENOUGH_BITS</a> = 0x1002
, <b>aac_dec_sync_error_end</b> = 0x1FFF
, <b>aac_dec_init_error_start</b> = 0x2000
, <br />
&#160;&#160;<a class="el" href="aacdecoder__lib_8h.html#afbc7e8b4f1613dfd8cb91b681eeb9d41a242d8bc09683a84b578546663dda36fa">AAC_DEC_INVALID_HANDLE</a>
, <a class="el" href="aacdecoder__lib_8h.html#afbc7e8b4f1613dfd8cb91b681eeb9d41a7ea36c43c374f751f65be033057e3888">AAC_DEC_UNSUPPORTED_AOT</a>
, <a class="el" href="aacdecoder__lib_8h.html#afbc7e8b4f1613dfd8cb91b681eeb9d41a4dff2410394a6ffdf0f95ec66cbd0107">AAC_DEC_UNSUPPORTED_FORMAT</a>
, <a class="el" href="aacdecoder__lib_8h.html#afbc7e8b4f1613dfd8cb91b681eeb9d41ae6d7add4f73779b26c859900f710c34f">AAC_DEC_UNSUPPORTED_ER_FORMAT</a>
, <br />
&#160;&#160;<a class="el" href="aacdecoder__lib_8h.html#afbc7e8b4f1613dfd8cb91b681eeb9d41a95dafb71a0623fbeb0715e46b7a189c7">AAC_DEC_UNSUPPORTED_EPCONFIG</a>
, <a class="el" href="aacdecoder__lib_8h.html#afbc7e8b4f1613dfd8cb91b681eeb9d41a97113255d01bdf3cc7104dd411f40949">AAC_DEC_UNSUPPORTED_MULTILAYER</a>
, <a class="el" href="aacdecoder__lib_8h.html#afbc7e8b4f1613dfd8cb91b681eeb9d41a5bc4e4af77d94fa08beb54def8f01f7f">AAC_DEC_UNSUPPORTED_CHANNELCONFIG</a>
, <a class="el" href="aacdecoder__lib_8h.html#afbc7e8b4f1613dfd8cb91b681eeb9d41a0bd193ee6a8c3151c5c6469f7e455a8e">AAC_DEC_UNSUPPORTED_SAMPLINGRATE</a> = 0x2008
, <br />
&#160;&#160;<a class="el" href="aacdecoder__lib_8h.html#afbc7e8b4f1613dfd8cb91b681eeb9d41afbf7d7d96fdf87cb5f7541348a597b48">AAC_DEC_INVALID_SBR_CONFIG</a>
, <a class="el" href="aacdecoder__lib_8h.html#afbc7e8b4f1613dfd8cb91b681eeb9d41a4dbbe3b38d0dfb444fdc3a7adae2f807">AAC_DEC_SET_PARAM_FAIL</a> = 0x200A
, <a class="el" href="aacdecoder__lib_8h.html#afbc7e8b4f1613dfd8cb91b681eeb9d41a8aa244ce1ae08763dde378161df0652f">AAC_DEC_NEED_TO_RESTART</a> = 0x200B
, <a class="el" href="aacdecoder__lib_8h.html#afbc7e8b4f1613dfd8cb91b681eeb9d41ad5016434ce26548552b9075b97158873">AAC_DEC_OUTPUT_BUFFER_TOO_SMALL</a>
, <br />
&#160;&#160;<b>aac_dec_init_error_end</b> = 0x2FFF
, <b>aac_dec_decode_error_start</b> = 0x4000
, <a class="el" href="aacdecoder__lib_8h.html#afbc7e8b4f1613dfd8cb91b681eeb9d41ae36383b7f8b4f36072eb60a303c439c3">AAC_DEC_TRANSPORT_ERROR</a>
, <a class="el" href="aacdecoder__lib_8h.html#afbc7e8b4f1613dfd8cb91b681eeb9d41ac8bc8e0a106154098f730ba596c43c50">AAC_DEC_PARSE_ERROR</a> = 0x4002
, <br />
&#160;&#160;<a class="el" href="aacdecoder__lib_8h.html#afbc7e8b4f1613dfd8cb91b681eeb9d41ac12235e2fee27efdcc78f2946f86e4ab">AAC_DEC_UNSUPPORTED_EXTENSION_PAYLOAD</a>
, <a class="el" href="aacdecoder__lib_8h.html#afbc7e8b4f1613dfd8cb91b681eeb9d41a0357ce81d9d62cc106c752121fc9dc8a">AAC_DEC_DECODE_FRAME_ERROR</a> = 0x4004
, <a class="el" href="aacdecoder__lib_8h.html#afbc7e8b4f1613dfd8cb91b681eeb9d41a20cdc26726b22cb44143b4e440441e0f">AAC_DEC_CRC_ERROR</a> = 0x4005
, <a class="el" href="aacdecoder__lib_8h.html#afbc7e8b4f1613dfd8cb91b681eeb9d41acb4252bc9a6eeee71738af951850379c">AAC_DEC_INVALID_CODE_BOOK</a> = 0x4006
, <br />
&#160;&#160;<a class="el" href="aacdecoder__lib_8h.html#afbc7e8b4f1613dfd8cb91b681eeb9d41aa14848134610eea96115c59a6b944921">AAC_DEC_UNSUPPORTED_PREDICTION</a>
, <a class="el" href="aacdecoder__lib_8h.html#afbc7e8b4f1613dfd8cb91b681eeb9d41a45662b23139ca5807ed6fe3b8940dc40">AAC_DEC_UNSUPPORTED_CCE</a> = 0x4008
, <a class="el" href="aacdecoder__lib_8h.html#afbc7e8b4f1613dfd8cb91b681eeb9d41af61dc054946b313e1780cf604ca833c6">AAC_DEC_UNSUPPORTED_LFE</a> = 0x4009
, <a class="el" href="aacdecoder__lib_8h.html#afbc7e8b4f1613dfd8cb91b681eeb9d41af16b1992a2a415168ab96228671ef337">AAC_DEC_UNSUPPORTED_GAIN_CONTROL_DATA</a>
, <br />
&#160;&#160;<a class="el" href="aacdecoder__lib_8h.html#afbc7e8b4f1613dfd8cb91b681eeb9d41a77f722abc6c05f1abf1f51c0d11bf7ec">AAC_DEC_UNSUPPORTED_SBA</a>
, <a class="el" href="aacdecoder__lib_8h.html#afbc7e8b4f1613dfd8cb91b681eeb9d41a516287ad9b64c230200191fdd60361e1">AAC_DEC_TNS_READ_ERROR</a> = 0x400C
, <a class="el" href="aacdecoder__lib_8h.html#afbc7e8b4f1613dfd8cb91b681eeb9d41abb11196531beac7285326a5394db0329">AAC_DEC_RVLC_ERROR</a>
, <b>aac_dec_decode_error_end</b> = 0x4FFF
, <br />
&#160;&#160;<b>aac_dec_anc_data_error_start</b> = 0x8000
, <a class="el" href="aacdecoder__lib_8h.html#afbc7e8b4f1613dfd8cb91b681eeb9d41a65820f534b99b1529510720eeaafc861">AAC_DEC_ANC_DATA_ERROR</a>
, <a class="el" href="aacdecoder__lib_8h.html#afbc7e8b4f1613dfd8cb91b681eeb9d41a72f0dd3698012cdf8b20dd6f0b5de626">AAC_DEC_TOO_SMALL_ANC_BUFFER</a> = 0x8002
, <a class="el" href="aacdecoder__lib_8h.html#afbc7e8b4f1613dfd8cb91b681eeb9d41aea6be518456d203d68898efd236a6769">AAC_DEC_TOO_MANY_ANC_ELEMENTS</a> = 0x8003
, <br />
&#160;&#160;<b>aac_dec_anc_data_error_end</b> = 0x8FFF
<br />
 }</td></tr>
<tr class="memdesc:afbc7e8b4f1613dfd8cb91b681eeb9d41"><td class="mdescLeft">&#160;</td><td class="mdescRight">AAC decoder error codes.  <a href="aacdecoder__lib_8h.html#afbc7e8b4f1613dfd8cb91b681eeb9d41">More...</a><br /></td></tr>
<tr class="separator:afbc7e8b4f1613dfd8cb91b681eeb9d41"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a62150fcf1d727d7c39d956c0b94d5f53"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="aacdecoder__lib_8h.html#a62150fcf1d727d7c39d956c0b94d5f53">AAC_MD_PROFILE</a> { <a class="el" href="aacdecoder__lib_8h.html#a62150fcf1d727d7c39d956c0b94d5f53a84e499e3d069f84b42efd1f43d1493bc">AAC_MD_PROFILE_MPEG_STANDARD</a>
, <a class="el" href="aacdecoder__lib_8h.html#a62150fcf1d727d7c39d956c0b94d5f53ad4d127b6bf72d235a685eb728e5c9c04">AAC_MD_PROFILE_MPEG_LEGACY</a>
, <a class="el" href="aacdecoder__lib_8h.html#a62150fcf1d727d7c39d956c0b94d5f53a9548a8076c3cef4c86b209e6088a181e">AAC_MD_PROFILE_MPEG_LEGACY_PRIO</a>
, <a class="el" href="aacdecoder__lib_8h.html#a62150fcf1d727d7c39d956c0b94d5f53adf1d471cf30ed2d0cbd479b550799231">AAC_MD_PROFILE_ARIB_JAPAN</a>
 }</td></tr>
<tr class="memdesc:a62150fcf1d727d7c39d956c0b94d5f53"><td class="mdescLeft">&#160;</td><td class="mdescRight">The available metadata profiles which are mostly related to downmixing. The values define the arguments for the use with parameter <a class="el" href="aacdecoder__lib_8h.html#aa34599717f4ed74b0c954cd57edc9f88adaafd5ea0ba254db0f4a8b632eb42bd9">AAC_METADATA_PROFILE</a>.  <a href="aacdecoder__lib_8h.html#a62150fcf1d727d7c39d956c0b94d5f53">More...</a><br /></td></tr>
<tr class="separator:a62150fcf1d727d7c39d956c0b94d5f53"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3b3a8a254330a529b156adf5983d6016"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="aacdecoder__lib_8h.html#a3b3a8a254330a529b156adf5983d6016">AAC_DRC_DEFAULT_PRESENTATION_MODE_OPTIONS</a> { <a class="el" href="aacdecoder__lib_8h.html#a3b3a8a254330a529b156adf5983d6016ad245ff440b172bdc32498a6e1388c559">AAC_DRC_PARAMETER_HANDLING_DISABLED</a> = -1
, <a class="el" href="aacdecoder__lib_8h.html#a3b3a8a254330a529b156adf5983d6016ad482f24d0af8fa9e8b22a1eb26dcc567">AAC_DRC_PARAMETER_HANDLING_ENABLED</a>
, <a class="el" href="aacdecoder__lib_8h.html#a3b3a8a254330a529b156adf5983d6016ad433631e6ce716b440da07eb6faa49d3">AAC_DRC_PRESENTATION_MODE_1_DEFAULT</a>
, <a class="el" href="aacdecoder__lib_8h.html#a3b3a8a254330a529b156adf5983d6016a9db1d0a553608f6b863b4364df50c4ce">AAC_DRC_PRESENTATION_MODE_2_DEFAULT</a>
 }</td></tr>
<tr class="memdesc:a3b3a8a254330a529b156adf5983d6016"><td class="mdescLeft">&#160;</td><td class="mdescRight">Options for handling of DRC parameters, if presentation mode is not indicated in bitstream.  <a href="aacdecoder__lib_8h.html#a3b3a8a254330a529b156adf5983d6016">More...</a><br /></td></tr>
<tr class="separator:a3b3a8a254330a529b156adf5983d6016"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa34599717f4ed74b0c954cd57edc9f88"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="aacdecoder__lib_8h.html#aa34599717f4ed74b0c954cd57edc9f88">AACDEC_PARAM</a> { <br />
&#160;&#160;<a class="el" href="aacdecoder__lib_8h.html#aa34599717f4ed74b0c954cd57edc9f88aee866642a3f335e7874a82939ad0c135">AAC_PCM_DUAL_CHANNEL_OUTPUT_MODE</a>
, <a class="el" href="aacdecoder__lib_8h.html#aa34599717f4ed74b0c954cd57edc9f88ab49a2169c22ea876c67154d6caa04568">AAC_PCM_OUTPUT_CHANNEL_MAPPING</a>
, <a class="el" href="aacdecoder__lib_8h.html#aa34599717f4ed74b0c954cd57edc9f88ab011b48e5d9f5648c400ee632c151197">AAC_PCM_LIMITER_ENABLE</a>
, <a class="el" href="aacdecoder__lib_8h.html#aa34599717f4ed74b0c954cd57edc9f88ad2733233519a726ef7501d89918921c5">AAC_PCM_LIMITER_ATTACK_TIME</a> = 0x0005
, <br />
&#160;&#160;<a class="el" href="aacdecoder__lib_8h.html#aa34599717f4ed74b0c954cd57edc9f88a55c37bcd32cb04728f48e1b2896967f7">AAC_PCM_LIMITER_RELEAS_TIME</a> = 0x0006
, <a class="el" href="aacdecoder__lib_8h.html#aa34599717f4ed74b0c954cd57edc9f88a5cec20e1dd4ac89472ad60d3d0c8b5c1">AAC_PCM_MIN_OUTPUT_CHANNELS</a>
, <a class="el" href="aacdecoder__lib_8h.html#aa34599717f4ed74b0c954cd57edc9f88a5e080429e4eaec068ba64c17152ee805">AAC_PCM_MAX_OUTPUT_CHANNELS</a>
, <a class="el" href="aacdecoder__lib_8h.html#aa34599717f4ed74b0c954cd57edc9f88adaafd5ea0ba254db0f4a8b632eb42bd9">AAC_METADATA_PROFILE</a>
, <br />
&#160;&#160;<a class="el" href="aacdecoder__lib_8h.html#aa34599717f4ed74b0c954cd57edc9f88ace13813b403ec2e2a22eafb8113f3799">AAC_METADATA_EXPIRY_TIME</a> = 0x0021
, <a class="el" href="aacdecoder__lib_8h.html#aa34599717f4ed74b0c954cd57edc9f88a28dd853ab4339011893a933020ac5ab8">AAC_CONCEAL_METHOD</a> = 0x0100
, <a class="el" href="aacdecoder__lib_8h.html#aa34599717f4ed74b0c954cd57edc9f88a6056e5b76cc6a00078388445b1f1cfa1">AAC_DRC_BOOST_FACTOR</a>
, <a class="el" href="aacdecoder__lib_8h.html#aa34599717f4ed74b0c954cd57edc9f88a65284784865f22d79700dc268f84e374">AAC_DRC_ATTENUATION_FACTOR</a> = 0x0201
, <br />
&#160;&#160;<a class="el" href="aacdecoder__lib_8h.html#aa34599717f4ed74b0c954cd57edc9f88af24d28dac8b5de47c00c578712d0591e">AAC_DRC_REFERENCE_LEVEL</a>
, <a class="el" href="aacdecoder__lib_8h.html#aa34599717f4ed74b0c954cd57edc9f88a4392100c924c0f20a706f55bc7ab3931">AAC_DRC_HEAVY_COMPRESSION</a>
, <a class="el" href="aacdecoder__lib_8h.html#aa34599717f4ed74b0c954cd57edc9f88a12cc4d27591e55de82c28ac35266d22e">AAC_DRC_DEFAULT_PRESENTATION_MODE</a>
, <a class="el" href="aacdecoder__lib_8h.html#aa34599717f4ed74b0c954cd57edc9f88a48210568b17f49caf636afb7bebe8353">AAC_DRC_ENC_TARGET_LEVEL</a>
, <br />
&#160;&#160;<a class="el" href="aacdecoder__lib_8h.html#aa34599717f4ed74b0c954cd57edc9f88ae7de98c036695901c71e98e589f3bc23">AAC_UNIDRC_SET_EFFECT</a> = 0x0206
, <a class="el" href="aacdecoder__lib_8h.html#aa34599717f4ed74b0c954cd57edc9f88a5e1080a2641ae7b9f8c4618a0c8b8341">AAC_UNIDRC_ALBUM_MODE</a>
, <a class="el" href="aacdecoder__lib_8h.html#aa34599717f4ed74b0c954cd57edc9f88a605a8fed5c5754dffc63775cc702aae7">AAC_QMF_LOWPOWER</a>
, <a class="el" href="aacdecoder__lib_8h.html#aa34599717f4ed74b0c954cd57edc9f88aa1a5a121f8b03708d9fdcc06f6e882fb">AAC_TPDEC_CLEAR_BUFFER</a>
<br />
 }</td></tr>
<tr class="memdesc:aa34599717f4ed74b0c954cd57edc9f88"><td class="mdescLeft">&#160;</td><td class="mdescRight">AAC decoder setting parameters.  <a href="aacdecoder__lib_8h.html#aa34599717f4ed74b0c954cd57edc9f88">More...</a><br /></td></tr>
<tr class="separator:aa34599717f4ed74b0c954cd57edc9f88"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:a8f33403449b41e6a9deda6cb1e07d386"><td class="memItemLeft" align="right" valign="top">LINKSPEC_H <a class="el" href="aacdecoder__lib_8h.html#afbc7e8b4f1613dfd8cb91b681eeb9d41">AAC_DECODER_ERROR</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="aacdecoder__lib_8h.html#a8f33403449b41e6a9deda6cb1e07d386">aacDecoder_AncDataInit</a> (<a class="el" href="aacdecoder__lib_8h.html#aa9ba2e98e71adc41124eaf8d6e5d6f2d">HANDLE_AACDECODER</a> self, <a class="el" href="machine__type_8h.html#aed5a2dbe32af3a91203f0f5e8697e873">UCHAR</a> *buffer, int size)</td></tr>
<tr class="memdesc:a8f33403449b41e6a9deda6cb1e07d386"><td class="mdescLeft">&#160;</td><td class="mdescRight">Initialize ancillary data buffer.  <a href="aacdecoder__lib_8h.html#a8f33403449b41e6a9deda6cb1e07d386">More...</a><br /></td></tr>
<tr class="separator:a8f33403449b41e6a9deda6cb1e07d386"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a404dd0b9b627d3e9ab765dba98be3eec"><td class="memItemLeft" align="right" valign="top">LINKSPEC_H <a class="el" href="aacdecoder__lib_8h.html#afbc7e8b4f1613dfd8cb91b681eeb9d41">AAC_DECODER_ERROR</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="aacdecoder__lib_8h.html#a404dd0b9b627d3e9ab765dba98be3eec">aacDecoder_AncDataGet</a> (<a class="el" href="aacdecoder__lib_8h.html#aa9ba2e98e71adc41124eaf8d6e5d6f2d">HANDLE_AACDECODER</a> self, int index, <a class="el" href="machine__type_8h.html#aed5a2dbe32af3a91203f0f5e8697e873">UCHAR</a> **ptr, int *size)</td></tr>
<tr class="memdesc:a404dd0b9b627d3e9ab765dba98be3eec"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get one ancillary data element.  <a href="aacdecoder__lib_8h.html#a404dd0b9b627d3e9ab765dba98be3eec">More...</a><br /></td></tr>
<tr class="separator:a404dd0b9b627d3e9ab765dba98be3eec"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afb42ea8892dd828264bd2f6147e0559f"><td class="memItemLeft" align="right" valign="top">LINKSPEC_H <a class="el" href="aacdecoder__lib_8h.html#afbc7e8b4f1613dfd8cb91b681eeb9d41">AAC_DECODER_ERROR</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="aacdecoder__lib_8h.html#afb42ea8892dd828264bd2f6147e0559f">aacDecoder_SetParam</a> (const <a class="el" href="aacdecoder__lib_8h.html#aa9ba2e98e71adc41124eaf8d6e5d6f2d">HANDLE_AACDECODER</a> self, const <a class="el" href="aacdecoder__lib_8h.html#aa34599717f4ed74b0c954cd57edc9f88">AACDEC_PARAM</a> param, const <a class="el" href="machine__type_8h.html#a4cf9af43a95c45c3d469658098dfbe1a">INT</a> value)</td></tr>
<tr class="memdesc:afb42ea8892dd828264bd2f6147e0559f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set one single decoder parameter.  <a href="aacdecoder__lib_8h.html#afb42ea8892dd828264bd2f6147e0559f">More...</a><br /></td></tr>
<tr class="separator:afb42ea8892dd828264bd2f6147e0559f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a15da43e47179e3ca7b58d6b08620533e"><td class="memItemLeft" align="right" valign="top">LINKSPEC_H <a class="el" href="aacdecoder__lib_8h.html#afbc7e8b4f1613dfd8cb91b681eeb9d41">AAC_DECODER_ERROR</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="aacdecoder__lib_8h.html#a15da43e47179e3ca7b58d6b08620533e">aacDecoder_GetFreeBytes</a> (const <a class="el" href="aacdecoder__lib_8h.html#aa9ba2e98e71adc41124eaf8d6e5d6f2d">HANDLE_AACDECODER</a> self, <a class="el" href="machine__type_8h.html#afff0ab3629a68bc1bb3b2a2f4296173f">UINT</a> *pFreeBytes)</td></tr>
<tr class="memdesc:a15da43e47179e3ca7b58d6b08620533e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get free bytes inside decoder internal buffer.  <a href="aacdecoder__lib_8h.html#a15da43e47179e3ca7b58d6b08620533e">More...</a><br /></td></tr>
<tr class="separator:a15da43e47179e3ca7b58d6b08620533e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac8580fe563e79afe695d7b0b32ea0fed"><td class="memItemLeft" align="right" valign="top">LINKSPEC_H <a class="el" href="aacdecoder__lib_8h.html#aa9ba2e98e71adc41124eaf8d6e5d6f2d">HANDLE_AACDECODER</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="aacdecoder__lib_8h.html#ac8580fe563e79afe695d7b0b32ea0fed">aacDecoder_Open</a> (<a class="el" href="_f_d_k__audio_8h.html#a9a3ab43f50232345732813eefad2dd08">TRANSPORT_TYPE</a> transportFmt, <a class="el" href="machine__type_8h.html#afff0ab3629a68bc1bb3b2a2f4296173f">UINT</a> nrOfLayers)</td></tr>
<tr class="memdesc:ac8580fe563e79afe695d7b0b32ea0fed"><td class="mdescLeft">&#160;</td><td class="mdescRight">Open an AAC decoder instance.  <a href="aacdecoder__lib_8h.html#ac8580fe563e79afe695d7b0b32ea0fed">More...</a><br /></td></tr>
<tr class="separator:ac8580fe563e79afe695d7b0b32ea0fed"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6016435b8679d2793078b10ecaf3d05d"><td class="memItemLeft" align="right" valign="top">LINKSPEC_H <a class="el" href="aacdecoder__lib_8h.html#afbc7e8b4f1613dfd8cb91b681eeb9d41">AAC_DECODER_ERROR</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="aacdecoder__lib_8h.html#a6016435b8679d2793078b10ecaf3d05d">aacDecoder_ConfigRaw</a> (<a class="el" href="aacdecoder__lib_8h.html#aa9ba2e98e71adc41124eaf8d6e5d6f2d">HANDLE_AACDECODER</a> self, <a class="el" href="machine__type_8h.html#aed5a2dbe32af3a91203f0f5e8697e873">UCHAR</a> *conf[], const <a class="el" href="machine__type_8h.html#afff0ab3629a68bc1bb3b2a2f4296173f">UINT</a> length[])</td></tr>
<tr class="memdesc:a6016435b8679d2793078b10ecaf3d05d"><td class="mdescLeft">&#160;</td><td class="mdescRight">Explicitly configure the decoder by passing a raw AudioSpecificConfig (ASC) or a StreamMuxConfig (SMC), contained in a binary buffer. This is required for MPEG-4 and Raw Packets file format bitstreams as well as for LATM bitstreams with no in-band SMC. If the transport format is LATM with or without LOAS, configuration is assumed to be an SMC, for all other file formats an ASC.  <a href="aacdecoder__lib_8h.html#a6016435b8679d2793078b10ecaf3d05d">More...</a><br /></td></tr>
<tr class="separator:a6016435b8679d2793078b10ecaf3d05d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7b307c38d35f4a98b3efddc620de8ac7"><td class="memItemLeft" align="right" valign="top">LINKSPEC_H <a class="el" href="aacdecoder__lib_8h.html#afbc7e8b4f1613dfd8cb91b681eeb9d41">AAC_DECODER_ERROR</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="aacdecoder__lib_8h.html#a7b307c38d35f4a98b3efddc620de8ac7">aacDecoder_RawISOBMFFData</a> (<a class="el" href="aacdecoder__lib_8h.html#aa9ba2e98e71adc41124eaf8d6e5d6f2d">HANDLE_AACDECODER</a> self, <a class="el" href="machine__type_8h.html#aed5a2dbe32af3a91203f0f5e8697e873">UCHAR</a> *buffer, <a class="el" href="machine__type_8h.html#afff0ab3629a68bc1bb3b2a2f4296173f">UINT</a> length)</td></tr>
<tr class="memdesc:a7b307c38d35f4a98b3efddc620de8ac7"><td class="mdescLeft">&#160;</td><td class="mdescRight">Submit raw ISO base media file format boxes to decoder for parsing (only some box types are recognized).  <a href="aacdecoder__lib_8h.html#a7b307c38d35f4a98b3efddc620de8ac7">More...</a><br /></td></tr>
<tr class="separator:a7b307c38d35f4a98b3efddc620de8ac7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6d508fce68c364f5dabc9195e701ecf8"><td class="memItemLeft" align="right" valign="top">LINKSPEC_H <a class="el" href="aacdecoder__lib_8h.html#afbc7e8b4f1613dfd8cb91b681eeb9d41">AAC_DECODER_ERROR</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="aacdecoder__lib_8h.html#a6d508fce68c364f5dabc9195e701ecf8">aacDecoder_Fill</a> (<a class="el" href="aacdecoder__lib_8h.html#aa9ba2e98e71adc41124eaf8d6e5d6f2d">HANDLE_AACDECODER</a> self, <a class="el" href="machine__type_8h.html#aed5a2dbe32af3a91203f0f5e8697e873">UCHAR</a> *pBuffer[], const <a class="el" href="machine__type_8h.html#afff0ab3629a68bc1bb3b2a2f4296173f">UINT</a> bufferSize[], <a class="el" href="machine__type_8h.html#afff0ab3629a68bc1bb3b2a2f4296173f">UINT</a> *bytesValid)</td></tr>
<tr class="memdesc:a6d508fce68c364f5dabc9195e701ecf8"><td class="mdescLeft">&#160;</td><td class="mdescRight">Fill AAC decoder's internal input buffer with bitstream data from the external input buffer. The function only copies such data as long as the decoder-internal input buffer is not full. So it grabs whatever it can from pBuffer and returns information (bytesValid) so that at a subsequent call of aacDecoder_Fill(), the right position in pBuffer can be determined to grab the next data.  <a href="aacdecoder__lib_8h.html#a6d508fce68c364f5dabc9195e701ecf8">More...</a><br /></td></tr>
<tr class="separator:a6d508fce68c364f5dabc9195e701ecf8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a245a0e4176fb886d890a86627c55bb24"><td class="memItemLeft" align="right" valign="top">LINKSPEC_H <a class="el" href="aacdecoder__lib_8h.html#afbc7e8b4f1613dfd8cb91b681eeb9d41">AAC_DECODER_ERROR</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="aacdecoder__lib_8h.html#a245a0e4176fb886d890a86627c55bb24">aacDecoder_DecodeFrame</a> (<a class="el" href="aacdecoder__lib_8h.html#aa9ba2e98e71adc41124eaf8d6e5d6f2d">HANDLE_AACDECODER</a> self, <a class="el" href="machine__type_8h.html#ac024ad9a1e48a3e87d360d519d943512">INT_PCM</a> *pTimeData, const <a class="el" href="machine__type_8h.html#a4cf9af43a95c45c3d469658098dfbe1a">INT</a> timeDataSize, const <a class="el" href="machine__type_8h.html#afff0ab3629a68bc1bb3b2a2f4296173f">UINT</a> flags)</td></tr>
<tr class="memdesc:a245a0e4176fb886d890a86627c55bb24"><td class="mdescLeft">&#160;</td><td class="mdescRight">Decode one audio frame.  <a href="aacdecoder__lib_8h.html#a245a0e4176fb886d890a86627c55bb24">More...</a><br /></td></tr>
<tr class="separator:a245a0e4176fb886d890a86627c55bb24"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:acca8f4cf9757885d6c654de37a43072f"><td class="memItemLeft" align="right" valign="top">LINKSPEC_H void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="aacdecoder__lib_8h.html#acca8f4cf9757885d6c654de37a43072f">aacDecoder_Close</a> (<a class="el" href="aacdecoder__lib_8h.html#aa9ba2e98e71adc41124eaf8d6e5d6f2d">HANDLE_AACDECODER</a> self)</td></tr>
<tr class="memdesc:acca8f4cf9757885d6c654de37a43072f"><td class="mdescLeft">&#160;</td><td class="mdescRight">De-allocate all resources of an AAC decoder instance.  <a href="aacdecoder__lib_8h.html#acca8f4cf9757885d6c654de37a43072f">More...</a><br /></td></tr>
<tr class="separator:acca8f4cf9757885d6c654de37a43072f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a60aa42cb3ddc804b44ce61d877d0501e"><td class="memItemLeft" align="right" valign="top">LINKSPEC_H <a class="el" href="struct_c_stream_info.html">CStreamInfo</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="aacdecoder__lib_8h.html#a60aa42cb3ddc804b44ce61d877d0501e">aacDecoder_GetStreamInfo</a> (<a class="el" href="aacdecoder__lib_8h.html#aa9ba2e98e71adc41124eaf8d6e5d6f2d">HANDLE_AACDECODER</a> self)</td></tr>
<tr class="memdesc:a60aa42cb3ddc804b44ce61d877d0501e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get <a class="el" href="struct_c_stream_info.html" title="This structure gives information about the currently decoded audio data. All fields are read-only.">CStreamInfo</a> handle from decoder.  <a href="aacdecoder__lib_8h.html#a60aa42cb3ddc804b44ce61d877d0501e">More...</a><br /></td></tr>
<tr class="separator:a60aa42cb3ddc804b44ce61d877d0501e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a620b5a8c5d7ddd1b525aae1895963e16"><td class="memItemLeft" align="right" valign="top">LINKSPEC_H <a class="el" href="machine__type_8h.html#a4cf9af43a95c45c3d469658098dfbe1a">INT</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="aacdecoder__lib_8h.html#a620b5a8c5d7ddd1b525aae1895963e16">aacDecoder_GetLibInfo</a> (<a class="el" href="struct_l_i_b___i_n_f_o.html">LIB_INFO</a> *info)</td></tr>
<tr class="memdesc:a620b5a8c5d7ddd1b525aae1895963e16"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get decoder library info.  <a href="aacdecoder__lib_8h.html#a620b5a8c5d7ddd1b525aae1895963e16">More...</a><br /></td></tr>
<tr class="separator:a620b5a8c5d7ddd1b525aae1895963e16"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>FDK AAC decoder library interface header file. </p>
</div><h2 class="groupheader">Macro Definition Documentation</h2>
<a id="a4666e424f482470e872827f66399454a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a4666e424f482470e872827f66399454a">&#9670;&nbsp;</a></span>AACDEC_CLRHIST</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define AACDEC_CLRHIST&#160;&#160;&#160;8</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Flag for <a class="el" href="aacdecoder__lib_8h.html#a245a0e4176fb886d890a86627c55bb24" title="Decode one audio frame.">aacDecoder_DecodeFrame()</a>: Clear all signal delay lines and history buffers. CAUTION: This can cause discontinuities in the output signal. </p>

</div>
</div>
<a id="ae09502f250437ee519971ca3a95ac9e0"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae09502f250437ee519971ca3a95ac9e0">&#9670;&nbsp;</a></span>AACDEC_CONCEAL</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define AACDEC_CONCEAL&#160;&#160;&#160;1</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Flag for <a class="el" href="aacdecoder__lib_8h.html#a245a0e4176fb886d890a86627c55bb24" title="Decode one audio frame.">aacDecoder_DecodeFrame()</a>: Trigger the built-in error concealment module to generate a substitute signal for one lost frame. New input data will not be considered. </p>

</div>
</div>
<a id="a8bc17277db0f7651065f62d66f92ed9f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a8bc17277db0f7651065f62d66f92ed9f">&#9670;&nbsp;</a></span>AACDEC_FLUSH</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define AACDEC_FLUSH&#160;&#160;&#160;2</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Flag for <a class="el" href="aacdecoder__lib_8h.html#a245a0e4176fb886d890a86627c55bb24" title="Decode one audio frame.">aacDecoder_DecodeFrame()</a>: Flush all filterbanks to get all delayed audio without having new input data. Thus new input data will not be considered. </p>

</div>
</div>
<a id="abc8ebc3d720699fe1d7c27eccd3da051"></a>
<h2 class="memtitle"><span class="permalink"><a href="#abc8ebc3d720699fe1d7c27eccd3da051">&#9670;&nbsp;</a></span>AACDEC_INTR</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define AACDEC_INTR&#160;&#160;&#160;4</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Flag for <a class="el" href="aacdecoder__lib_8h.html#a245a0e4176fb886d890a86627c55bb24" title="Decode one audio frame.">aacDecoder_DecodeFrame()</a>: Signal an input bit stream data discontinuity. Resync any internals as necessary. </p>

</div>
</div>
<a id="ac2c358d4ac0d7747cae32f9f45c20f71"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac2c358d4ac0d7747cae32f9f45c20f71">&#9670;&nbsp;</a></span>IS_DECODE_ERROR</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define IS_DECODE_ERROR</td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">err</td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<b>Value:</b><div class="fragment"><div class="line">  ((((err) &gt;= aac_dec_decode_error_start) &amp;&amp; \</div>
<div class="line">    ((err) &lt;= aac_dec_decode_error_end))     \</div>
<div class="line">       ? 1                                   \</div>
<div class="line">       : 0)</div>
</div><!-- fragment --><p>Macro to identify decode errors. Output buffer is valid but concealed. </p>

</div>
</div>
<a id="a388a21070208ec23217c4ff8f8d98754"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a388a21070208ec23217c4ff8f8d98754">&#9670;&nbsp;</a></span>IS_INIT_ERROR</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define IS_INIT_ERROR</td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">err</td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<b>Value:</b><div class="fragment"><div class="line">  ((((err) &gt;= aac_dec_init_error_start) &amp;&amp; ((err) &lt;= aac_dec_init_error_end)) \</div>
<div class="line">       ? 1                                                                    \</div>
<div class="line">       : 0)</div>
</div><!-- fragment --><p>Macro to identify initialization errors. Output buffer is invalid. </p>

</div>
</div>
<a id="af59d78a4583ca81ccb2675dce592b812"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af59d78a4583ca81ccb2675dce592b812">&#9670;&nbsp;</a></span>IS_OUTPUT_VALID</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define IS_OUTPUT_VALID</td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">err</td><td>)</td>
          <td>&#160;&#160;&#160;(((err) == <a class="el" href="aacdecoder__lib_8h.html#afbc7e8b4f1613dfd8cb91b681eeb9d41a71440b5535812faf92a0fe99275dd5f0">AAC_DEC_OK</a>) || <a class="el" href="aacdecoder__lib_8h.html#ac2c358d4ac0d7747cae32f9f45c20f71">IS_DECODE_ERROR</a>(err))</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Macro to identify if the audio output buffer contains valid samples after calling <a class="el" href="aacdecoder__lib_8h.html#a245a0e4176fb886d890a86627c55bb24" title="Decode one audio frame.">aacDecoder_DecodeFrame()</a>. Output buffer is valid but can be concealed. </p>

</div>
</div>
<h2 class="groupheader">Typedef Documentation</h2>
<a id="aa9ba2e98e71adc41124eaf8d6e5d6f2d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa9ba2e98e71adc41124eaf8d6e5d6f2d">&#9670;&nbsp;</a></span>HANDLE_AACDECODER</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">typedef struct <a class="el" href="struct_a_a_c___d_e_c_o_d_e_r___i_n_s_t_a_n_c_e.html">AAC_DECODER_INSTANCE</a>* <a class="el" href="aacdecoder__lib_8h.html#aa9ba2e98e71adc41124eaf8d6e5d6f2d">HANDLE_AACDECODER</a></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Pointer to a AAC decoder instance. </p>

</div>
</div>
<h2 class="groupheader">Enumeration Type Documentation</h2>
<a id="afbc7e8b4f1613dfd8cb91b681eeb9d41"></a>
<h2 class="memtitle"><span class="permalink"><a href="#afbc7e8b4f1613dfd8cb91b681eeb9d41">&#9670;&nbsp;</a></span>AAC_DECODER_ERROR</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">enum <a class="el" href="aacdecoder__lib_8h.html#afbc7e8b4f1613dfd8cb91b681eeb9d41">AAC_DECODER_ERROR</a></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>AAC decoder error codes. </p>
<table class="fieldtable">
<tr><th colspan="2">Enumerator</th></tr><tr><td class="fieldname"><a id="afbc7e8b4f1613dfd8cb91b681eeb9d41a71440b5535812faf92a0fe99275dd5f0"></a>AAC_DEC_OK&#160;</td><td class="fielddoc"><p>No error occurred. Output buffer is valid and error free. </p>
</td></tr>
<tr><td class="fieldname"><a id="afbc7e8b4f1613dfd8cb91b681eeb9d41afdf896f1fefa0b962ef99c6cb2681027"></a>AAC_DEC_OUT_OF_MEMORY&#160;</td><td class="fielddoc"><p>Heap returned NULL pointer. Output buffer is invalid. </p>
</td></tr>
<tr><td class="fieldname"><a id="afbc7e8b4f1613dfd8cb91b681eeb9d41af1e591927344a1a91c49b87efe3fb0b9"></a>AAC_DEC_UNKNOWN&#160;</td><td class="fielddoc"><p>Error condition is of unknown reason, or from a another module. Output buffer is invalid. </p>
</td></tr>
<tr><td class="fieldname"><a id="afbc7e8b4f1613dfd8cb91b681eeb9d41adbb894fd8e900c4993f57ae88f8aee1a"></a>AAC_DEC_TRANSPORT_SYNC_ERROR&#160;</td><td class="fielddoc"><p>The transport decoder had synchronization problems. Do not exit decoding. Just feed new bitstream data. </p>
</td></tr>
<tr><td class="fieldname"><a id="afbc7e8b4f1613dfd8cb91b681eeb9d41ad8e91a23786bc032e507dfbd036f63c4"></a>AAC_DEC_NOT_ENOUGH_BITS&#160;</td><td class="fielddoc"><p>The input buffer ran out of bits. </p>
</td></tr>
<tr><td class="fieldname"><a id="afbc7e8b4f1613dfd8cb91b681eeb9d41a242d8bc09683a84b578546663dda36fa"></a>AAC_DEC_INVALID_HANDLE&#160;</td><td class="fielddoc"><p>The handle passed to the function call was invalid (NULL). </p>
</td></tr>
<tr><td class="fieldname"><a id="afbc7e8b4f1613dfd8cb91b681eeb9d41a7ea36c43c374f751f65be033057e3888"></a>AAC_DEC_UNSUPPORTED_AOT&#160;</td><td class="fielddoc"><p>The AOT found in the configuration is not supported. </p>
</td></tr>
<tr><td class="fieldname"><a id="afbc7e8b4f1613dfd8cb91b681eeb9d41a4dff2410394a6ffdf0f95ec66cbd0107"></a>AAC_DEC_UNSUPPORTED_FORMAT&#160;</td><td class="fielddoc"><p>The bitstream format is not supported. <br  />
 </p>
</td></tr>
<tr><td class="fieldname"><a id="afbc7e8b4f1613dfd8cb91b681eeb9d41ae6d7add4f73779b26c859900f710c34f"></a>AAC_DEC_UNSUPPORTED_ER_FORMAT&#160;</td><td class="fielddoc"><p>The error resilience tool format is not supported. </p>
</td></tr>
<tr><td class="fieldname"><a id="afbc7e8b4f1613dfd8cb91b681eeb9d41a95dafb71a0623fbeb0715e46b7a189c7"></a>AAC_DEC_UNSUPPORTED_EPCONFIG&#160;</td><td class="fielddoc"><p>The error protection format is not supported. </p>
</td></tr>
<tr><td class="fieldname"><a id="afbc7e8b4f1613dfd8cb91b681eeb9d41a97113255d01bdf3cc7104dd411f40949"></a>AAC_DEC_UNSUPPORTED_MULTILAYER&#160;</td><td class="fielddoc"><p>More than one layer for AAC scalable is not supported. </p>
</td></tr>
<tr><td class="fieldname"><a id="afbc7e8b4f1613dfd8cb91b681eeb9d41a5bc4e4af77d94fa08beb54def8f01f7f"></a>AAC_DEC_UNSUPPORTED_CHANNELCONFIG&#160;</td><td class="fielddoc"><p>The channel configuration (either number or arrangement) is not supported. </p>
</td></tr>
<tr><td class="fieldname"><a id="afbc7e8b4f1613dfd8cb91b681eeb9d41a0bd193ee6a8c3151c5c6469f7e455a8e"></a>AAC_DEC_UNSUPPORTED_SAMPLINGRATE&#160;</td><td class="fielddoc"><p>The sample rate specified in the configuration is not supported. </p>
</td></tr>
<tr><td class="fieldname"><a id="afbc7e8b4f1613dfd8cb91b681eeb9d41afbf7d7d96fdf87cb5f7541348a597b48"></a>AAC_DEC_INVALID_SBR_CONFIG&#160;</td><td class="fielddoc"><p>The SBR configuration is not supported. </p>
</td></tr>
<tr><td class="fieldname"><a id="afbc7e8b4f1613dfd8cb91b681eeb9d41a4dbbe3b38d0dfb444fdc3a7adae2f807"></a>AAC_DEC_SET_PARAM_FAIL&#160;</td><td class="fielddoc"><p>The parameter could not be set. Either the value was out of range or the parameter does not exist. </p>
</td></tr>
<tr><td class="fieldname"><a id="afbc7e8b4f1613dfd8cb91b681eeb9d41a8aa244ce1ae08763dde378161df0652f"></a>AAC_DEC_NEED_TO_RESTART&#160;</td><td class="fielddoc"><p>The decoder needs to be restarted, since the required configuration change cannot be performed. </p>
</td></tr>
<tr><td class="fieldname"><a id="afbc7e8b4f1613dfd8cb91b681eeb9d41ad5016434ce26548552b9075b97158873"></a>AAC_DEC_OUTPUT_BUFFER_TOO_SMALL&#160;</td><td class="fielddoc"><p>The provided output buffer is too small. </p>
</td></tr>
<tr><td class="fieldname"><a id="afbc7e8b4f1613dfd8cb91b681eeb9d41ae36383b7f8b4f36072eb60a303c439c3"></a>AAC_DEC_TRANSPORT_ERROR&#160;</td><td class="fielddoc"><p>The transport decoder encountered an unexpected error. </p>
</td></tr>
<tr><td class="fieldname"><a id="afbc7e8b4f1613dfd8cb91b681eeb9d41ac8bc8e0a106154098f730ba596c43c50"></a>AAC_DEC_PARSE_ERROR&#160;</td><td class="fielddoc"><p>Error while parsing the bitstream. Most probably it is corrupted, or the system crashed. </p>
</td></tr>
<tr><td class="fieldname"><a id="afbc7e8b4f1613dfd8cb91b681eeb9d41ac12235e2fee27efdcc78f2946f86e4ab"></a>AAC_DEC_UNSUPPORTED_EXTENSION_PAYLOAD&#160;</td><td class="fielddoc"><p>Error while parsing the extension payload of the bitstream. The extension payload type found is not supported. </p>
</td></tr>
<tr><td class="fieldname"><a id="afbc7e8b4f1613dfd8cb91b681eeb9d41a0357ce81d9d62cc106c752121fc9dc8a"></a>AAC_DEC_DECODE_FRAME_ERROR&#160;</td><td class="fielddoc"><p>The parsed bitstream value is out of range. Most probably the bitstream is corrupt, or the system crashed. </p>
</td></tr>
<tr><td class="fieldname"><a id="afbc7e8b4f1613dfd8cb91b681eeb9d41a20cdc26726b22cb44143b4e440441e0f"></a>AAC_DEC_CRC_ERROR&#160;</td><td class="fielddoc"><p>The embedded CRC did not match. </p>
</td></tr>
<tr><td class="fieldname"><a id="afbc7e8b4f1613dfd8cb91b681eeb9d41acb4252bc9a6eeee71738af951850379c"></a>AAC_DEC_INVALID_CODE_BOOK&#160;</td><td class="fielddoc"><p>An invalid codebook was signaled. Most probably the bitstream is corrupt, or the system crashed. </p>
</td></tr>
<tr><td class="fieldname"><a id="afbc7e8b4f1613dfd8cb91b681eeb9d41aa14848134610eea96115c59a6b944921"></a>AAC_DEC_UNSUPPORTED_PREDICTION&#160;</td><td class="fielddoc"><p>Predictor found, but not supported in the AAC Low Complexity profile. Most probably the bitstream is corrupt, or has a wrong format. </p>
</td></tr>
<tr><td class="fieldname"><a id="afbc7e8b4f1613dfd8cb91b681eeb9d41a45662b23139ca5807ed6fe3b8940dc40"></a>AAC_DEC_UNSUPPORTED_CCE&#160;</td><td class="fielddoc"><p>A CCE element was found which is not supported. Most probably the bitstream is corrupt, or has a wrong format. </p>
</td></tr>
<tr><td class="fieldname"><a id="afbc7e8b4f1613dfd8cb91b681eeb9d41af61dc054946b313e1780cf604ca833c6"></a>AAC_DEC_UNSUPPORTED_LFE&#160;</td><td class="fielddoc"><p>A LFE element was found which is not supported. Most probably the bitstream is corrupt, or has a wrong format. </p>
</td></tr>
<tr><td class="fieldname"><a id="afbc7e8b4f1613dfd8cb91b681eeb9d41af16b1992a2a415168ab96228671ef337"></a>AAC_DEC_UNSUPPORTED_GAIN_CONTROL_DATA&#160;</td><td class="fielddoc"><p>Gain control data found but not supported. Most probably the bitstream is corrupt, or has a wrong format. </p>
</td></tr>
<tr><td class="fieldname"><a id="afbc7e8b4f1613dfd8cb91b681eeb9d41a77f722abc6c05f1abf1f51c0d11bf7ec"></a>AAC_DEC_UNSUPPORTED_SBA&#160;</td><td class="fielddoc"><p>SBA found, but currently not supported in the BSAC profile. </p>
</td></tr>
<tr><td class="fieldname"><a id="afbc7e8b4f1613dfd8cb91b681eeb9d41a516287ad9b64c230200191fdd60361e1"></a>AAC_DEC_TNS_READ_ERROR&#160;</td><td class="fielddoc"><p>Error while reading TNS data. Most probably the bitstream is corrupt or the system crashed. </p>
</td></tr>
<tr><td class="fieldname"><a id="afbc7e8b4f1613dfd8cb91b681eeb9d41abb11196531beac7285326a5394db0329"></a>AAC_DEC_RVLC_ERROR&#160;</td><td class="fielddoc"><p>Error while decoding error resilient data. </p>
</td></tr>
<tr><td class="fieldname"><a id="afbc7e8b4f1613dfd8cb91b681eeb9d41a65820f534b99b1529510720eeaafc861"></a>AAC_DEC_ANC_DATA_ERROR&#160;</td><td class="fielddoc"><p>Non severe error concerning the ancillary data handling. </p>
</td></tr>
<tr><td class="fieldname"><a id="afbc7e8b4f1613dfd8cb91b681eeb9d41a72f0dd3698012cdf8b20dd6f0b5de626"></a>AAC_DEC_TOO_SMALL_ANC_BUFFER&#160;</td><td class="fielddoc"><p>The registered ancillary data buffer is too small to receive the parsed data. </p>
</td></tr>
<tr><td class="fieldname"><a id="afbc7e8b4f1613dfd8cb91b681eeb9d41aea6be518456d203d68898efd236a6769"></a>AAC_DEC_TOO_MANY_ANC_ELEMENTS&#160;</td><td class="fielddoc"><p>More than the allowed number of ancillary data elements should be written to buffer. </p>
</td></tr>
</table>

</div>
</div>
<a id="a3b3a8a254330a529b156adf5983d6016"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a3b3a8a254330a529b156adf5983d6016">&#9670;&nbsp;</a></span>AAC_DRC_DEFAULT_PRESENTATION_MODE_OPTIONS</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">enum <a class="el" href="aacdecoder__lib_8h.html#a3b3a8a254330a529b156adf5983d6016">AAC_DRC_DEFAULT_PRESENTATION_MODE_OPTIONS</a></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Options for handling of DRC parameters, if presentation mode is not indicated in bitstream. </p>
<table class="fieldtable">
<tr><th colspan="2">Enumerator</th></tr><tr><td class="fieldname"><a id="a3b3a8a254330a529b156adf5983d6016ad245ff440b172bdc32498a6e1388c559"></a>AAC_DRC_PARAMETER_HANDLING_DISABLED&#160;</td><td class="fielddoc"><p>DRC parameter handling disabled, all parameters are applied as requested. </p>
</td></tr>
<tr><td class="fieldname"><a id="a3b3a8a254330a529b156adf5983d6016ad482f24d0af8fa9e8b22a1eb26dcc567"></a>AAC_DRC_PARAMETER_HANDLING_ENABLED&#160;</td><td class="fielddoc"><p>Apply changes to requested DRC parameters to prevent clipping. </p>
</td></tr>
<tr><td class="fieldname"><a id="a3b3a8a254330a529b156adf5983d6016ad433631e6ce716b440da07eb6faa49d3"></a>AAC_DRC_PRESENTATION_MODE_1_DEFAULT&#160;</td><td class="fielddoc"><p>Use DRC presentation mode 1 as default (e.g. for Nordig) </p>
</td></tr>
<tr><td class="fieldname"><a id="a3b3a8a254330a529b156adf5983d6016a9db1d0a553608f6b863b4364df50c4ce"></a>AAC_DRC_PRESENTATION_MODE_2_DEFAULT&#160;</td><td class="fielddoc"><p>Use DRC presentation mode 2 as default (e.g. for DTG DBook) </p>
</td></tr>
</table>

</div>
</div>
<a id="a62150fcf1d727d7c39d956c0b94d5f53"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a62150fcf1d727d7c39d956c0b94d5f53">&#9670;&nbsp;</a></span>AAC_MD_PROFILE</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">enum <a class="el" href="aacdecoder__lib_8h.html#a62150fcf1d727d7c39d956c0b94d5f53">AAC_MD_PROFILE</a></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>The available metadata profiles which are mostly related to downmixing. The values define the arguments for the use with parameter <a class="el" href="aacdecoder__lib_8h.html#aa34599717f4ed74b0c954cd57edc9f88adaafd5ea0ba254db0f4a8b632eb42bd9">AAC_METADATA_PROFILE</a>. </p>
<table class="fieldtable">
<tr><th colspan="2">Enumerator</th></tr><tr><td class="fieldname"><a id="a62150fcf1d727d7c39d956c0b94d5f53a84e499e3d069f84b42efd1f43d1493bc"></a>AAC_MD_PROFILE_MPEG_STANDARD&#160;</td><td class="fielddoc"><p>The standard profile creates a mixdown signal based on the advanced downmix metadata (from a DSE). The equations and default values are defined in ISO/IEC 14496:3 Ammendment 4. Any other (legacy) downmix metadata will be ignored. No other parameter will be modified. <br  />
 </p>
</td></tr>
<tr><td class="fieldname"><a id="a62150fcf1d727d7c39d956c0b94d5f53ad4d127b6bf72d235a685eb728e5c9c04"></a>AAC_MD_PROFILE_MPEG_LEGACY&#160;</td><td class="fielddoc"><p>This profile behaves identical to the standard profile if advanced downmix metadata (from a DSE) is available. If not, the matrix_mixdown information embedded in the program configuration element (PCE) will be applied. If neither is the case, the module creates a mixdown using the default coefficients as defined in ISO/IEC 14496:3 AMD 4. The profile can be used to support legacy digital TV (e.g. DVB) streams. <br  />
 </p>
</td></tr>
<tr><td class="fieldname"><a id="a62150fcf1d727d7c39d956c0b94d5f53a9548a8076c3cef4c86b209e6088a181e"></a>AAC_MD_PROFILE_MPEG_LEGACY_PRIO&#160;</td><td class="fielddoc"><p>Similar to the <a class="el" href="aacdecoder__lib_8h.html#a62150fcf1d727d7c39d956c0b94d5f53ad4d127b6bf72d235a685eb728e5c9c04">AAC_MD_PROFILE_MPEG_LEGACY</a> profile but if both the advanced (ISO/IEC 14496:3 AMD 4) and the legacy (PCE) MPEG downmix metadata are available the latter will be applied. </p>
</td></tr>
<tr><td class="fieldname"><a id="a62150fcf1d727d7c39d956c0b94d5f53adf1d471cf30ed2d0cbd479b550799231"></a>AAC_MD_PROFILE_ARIB_JAPAN&#160;</td><td class="fielddoc"><p>Downmix creation as described in ABNT NBR 15602-2. But if advanced downmix metadata (ISO/IEC 14496:3 AMD 4) is available it will be preferred because of the higher resolutions. In addition the metadata expiry time will be set to the value defined in the ARIB standard (see <a class="el" href="aacdecoder__lib_8h.html#aa34599717f4ed74b0c954cd57edc9f88ace13813b403ec2e2a22eafb8113f3799">AAC_METADATA_EXPIRY_TIME</a>). </p>
</td></tr>
</table>

</div>
</div>
<a id="aa34599717f4ed74b0c954cd57edc9f88"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa34599717f4ed74b0c954cd57edc9f88">&#9670;&nbsp;</a></span>AACDEC_PARAM</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">enum <a class="el" href="aacdecoder__lib_8h.html#aa34599717f4ed74b0c954cd57edc9f88">AACDEC_PARAM</a></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>AAC decoder setting parameters. </p>
<table class="fieldtable">
<tr><th colspan="2">Enumerator</th></tr><tr><td class="fieldname"><a id="aa34599717f4ed74b0c954cd57edc9f88aee866642a3f335e7874a82939ad0c135"></a>AAC_PCM_DUAL_CHANNEL_OUTPUT_MODE&#160;</td><td class="fielddoc"><p>Defines how the decoder processes two channel signals: <br  />
 0: Leave both signals as they are (default). <br  />
 1: Create a dual mono output signal from channel 1. <br  />
 2: Create a dual mono output signal from channel 2. <br  />
 3: Create a dual mono output signal by mixing both channels (L' = R' = 0.5*Ch1 + 0.5*Ch2). </p>
</td></tr>
<tr><td class="fieldname"><a id="aa34599717f4ed74b0c954cd57edc9f88ab49a2169c22ea876c67154d6caa04568"></a>AAC_PCM_OUTPUT_CHANNEL_MAPPING&#160;</td><td class="fielddoc"><p>Output buffer channel ordering. 0: MPEG PCE style order, 1: WAV file channel order (default). </p>
</td></tr>
<tr><td class="fieldname"><a id="aa34599717f4ed74b0c954cd57edc9f88ab011b48e5d9f5648c400ee632c151197"></a>AAC_PCM_LIMITER_ENABLE&#160;</td><td class="fielddoc"><p>Enable signal level limiting. <br  />
 -1: Auto-config. Enable limiter for all non-lowdelay configurations by default. <br  />
 0: Disable limiter in general. <br  />
 1: Enable limiter always. It is recommended to call the decoder with a AACDEC_CLRHIST flag to reset all states when the limiter switch is changed explicitly. </p>
</td></tr>
<tr><td class="fieldname"><a id="aa34599717f4ed74b0c954cd57edc9f88ad2733233519a726ef7501d89918921c5"></a>AAC_PCM_LIMITER_ATTACK_TIME&#160;</td><td class="fielddoc"><p>Signal level limiting attack time in ms. Default configuration is 15 ms. Adjustable range from 1 ms to 15 ms. </p>
</td></tr>
<tr><td class="fieldname"><a id="aa34599717f4ed74b0c954cd57edc9f88a55c37bcd32cb04728f48e1b2896967f7"></a>AAC_PCM_LIMITER_RELEAS_TIME&#160;</td><td class="fielddoc"><p>Signal level limiting release time in ms. Default configuration is 50 ms. Adjustable time must be larger than 0 ms. </p>
</td></tr>
<tr><td class="fieldname"><a id="aa34599717f4ed74b0c954cd57edc9f88a5cec20e1dd4ac89472ad60d3d0c8b5c1"></a>AAC_PCM_MIN_OUTPUT_CHANNELS&#160;</td><td class="fielddoc"><p>Minimum number of PCM output channels. If higher than the number of encoded audio channels, a simple channel extension is applied (see note 4 for exceptions). <br  />
 -1, 0: Disable channel extension feature. The decoder output contains the same number of channels as the encoded bitstream. <br  />
 1: This value is currently needed only together with the mix-down feature. See <a class="el" href="aacdecoder__lib_8h.html#aa34599717f4ed74b0c954cd57edc9f88a5e080429e4eaec068ba64c17152ee805">AAC_PCM_MAX_OUTPUT_CHANNELS</a> and note 2 below. <br  />
 2: Encoded mono signals will be duplicated to achieve a 2/0/0.0 channel output configuration. <br  />
 6: The decoder tries to reorder encoded signals with less than six channels to achieve a 3/0/2.1 channel output signal. Missing channels will be filled with a zero signal. If reordering is not possible the empty channels will simply be appended. Only available if instance is configured to support multichannel output. <br  />
 8: The decoder tries to reorder encoded signals with less than eight channels to achieve a 3/0/4.1 channel output signal. Missing channels will be filled with a zero signal. If reordering is not possible the empty channels will simply be appended. Only available if instance is configured to support multichannel output.<br  />
 NOTE: <br  />
</p><ol type="1">
<li>The channel signaling (<a class="el" href="struct_c_stream_info.html#aae39329c51fe206a8aee33daba2fe1db">CStreamInfo::pChannelType</a> and <a class="el" href="struct_c_stream_info.html#aa35e5be20f99be29ce12f9f41bf4d50e">CStreamInfo::pChannelIndices</a>) will not be modified. Added empty channels will be signaled with channel type AUDIO_CHANNEL_TYPE::ACT_NONE. <br  />
</li>
<li>If the parameter value is greater than that of <a class="el" href="aacdecoder__lib_8h.html#aa34599717f4ed74b0c954cd57edc9f88a5e080429e4eaec068ba64c17152ee805">AAC_PCM_MAX_OUTPUT_CHANNELS</a> both will be set to the same value. <br  />
</li>
<li>This parameter will be ignored if the number of encoded audio channels is greater than 8. </li>
</ol>
</td></tr>
<tr><td class="fieldname"><a id="aa34599717f4ed74b0c954cd57edc9f88a5e080429e4eaec068ba64c17152ee805"></a>AAC_PCM_MAX_OUTPUT_CHANNELS&#160;</td><td class="fielddoc"><p>Maximum number of PCM output channels. If lower than the number of encoded audio channels, downmixing is applied accordingly (see note 5 for exceptions). If dedicated metadata is available in the stream it will be used to achieve better mixing results. <br  />
 -1, 0: Disable downmixing feature. The decoder output contains the same number of channels as the encoded bitstream. <br  />
 1: All encoded audio configurations with more than one channel will be mixed down to one mono output signal. <br  />
 2: The decoder performs a stereo mix-down if the number encoded audio channels is greater than two. <br  />
 6: If the number of encoded audio channels is greater than six the decoder performs a mix-down to meet the target output configuration of 3/0/2.1 channels. Only available if instance is configured to support multichannel output. <br  />
 8: This value is currently needed only together with the channel extension feature. See <a class="el" href="aacdecoder__lib_8h.html#aa34599717f4ed74b0c954cd57edc9f88a5cec20e1dd4ac89472ad60d3d0c8b5c1">AAC_PCM_MIN_OUTPUT_CHANNELS</a> and note 2 below. Only available if instance is configured to support multichannel output. <br  />
 NOTE: <br  />
</p><ol type="1">
<li>Down-mixing of any seven or eight channel configuration not defined in ISO/IEC 14496-3 PDAM 4 is not supported by this software version. <br  />
</li>
<li>If the parameter value is greater than zero but smaller than <a class="el" href="aacdecoder__lib_8h.html#aa34599717f4ed74b0c954cd57edc9f88a5cec20e1dd4ac89472ad60d3d0c8b5c1">AAC_PCM_MIN_OUTPUT_CHANNELS</a> both will be set to same value. <br  />
</li>
<li>This parameter will be ignored if the number of encoded audio channels is greater than 8. </li>
</ol>
</td></tr>
<tr><td class="fieldname"><a id="aa34599717f4ed74b0c954cd57edc9f88adaafd5ea0ba254db0f4a8b632eb42bd9"></a>AAC_METADATA_PROFILE&#160;</td><td class="fielddoc"><p>See <a class="el" href="aacdecoder__lib_8h.html#a62150fcf1d727d7c39d956c0b94d5f53" title="The available metadata profiles which are mostly related to downmixing. The values define the argumen...">AAC_MD_PROFILE</a> for all available values. </p>
</td></tr>
<tr><td class="fieldname"><a id="aa34599717f4ed74b0c954cd57edc9f88ace13813b403ec2e2a22eafb8113f3799"></a>AAC_METADATA_EXPIRY_TIME&#160;</td><td class="fielddoc"><p>Defines the time in ms after which all the bitstream associated meta-data (DRC, downmix coefficients, ...) will be reset to default if no update has been received. Negative values disable the feature. </p>
</td></tr>
<tr><td class="fieldname"><a id="aa34599717f4ed74b0c954cd57edc9f88a28dd853ab4339011893a933020ac5ab8"></a>AAC_CONCEAL_METHOD&#160;</td><td class="fielddoc"><p>Error concealment: Processing method. <br  />
 0: Spectral muting. <br  />
 1: Noise substitution (see ::CONCEAL_NOISE). <br  />
 2: Energy interpolation (adds additional signal delay of one frame, see ::CONCEAL_INTER. only some AOTs are supported). <br  />
 </p>
</td></tr>
<tr><td class="fieldname"><a id="aa34599717f4ed74b0c954cd57edc9f88a6056e5b76cc6a00078388445b1f1cfa1"></a>AAC_DRC_BOOST_FACTOR&#160;</td><td class="fielddoc"><p>MPEG-4 / MPEG-D Dynamic Range Control (DRC): Scaling factor for boosting gain values. Defines how the boosting DRC factors (conveyed in the bitstream) will be applied to the decoded signal. The valid values range from 0 (don't apply boost factors) to 127 (fully apply boost factors). Default value is 0 for MPEG-4 DRC and 127 for MPEG-D DRC. </p>
</td></tr>
<tr><td class="fieldname"><a id="aa34599717f4ed74b0c954cd57edc9f88a65284784865f22d79700dc268f84e374"></a>AAC_DRC_ATTENUATION_FACTOR&#160;</td><td class="fielddoc"><p>MPEG-4 / MPEG-D DRC: Scaling factor for attenuating gain values. Same as <a class="el" href="aacdecoder__lib_8h.html#aa34599717f4ed74b0c954cd57edc9f88a6056e5b76cc6a00078388445b1f1cfa1">AAC_DRC_BOOST_FACTOR</a> but for attenuating DRC factors. </p>
</td></tr>
<tr><td class="fieldname"><a id="aa34599717f4ed74b0c954cd57edc9f88af24d28dac8b5de47c00c578712d0591e"></a>AAC_DRC_REFERENCE_LEVEL&#160;</td><td class="fielddoc"><p>MPEG-4 / MPEG-D DRC: Target reference level / decoder target loudness.<br  />
 Defines the level below full-scale (quantized in steps of 0.25dB) to which the output audio signal will be normalized to by the DRC module.<br  />
 The parameter controls loudness normalization for both MPEG-4 DRC and MPEG-D DRC. The valid values range from 40 (-10 dBFS) to 127 (-31.75 dBFS).<br  />
 Example values:<br  />
 124 (-31 dBFS) for audio/video receivers (AVR) or other devices allowing audio playback with high dynamic range,<br  />
 96 (-24 dBFS) for TV sets or equivalent devices (default),<br  />
 64 (-16 dBFS) for mobile devices where the dynamic range of audio playback is restricted.<br  />
 Any value smaller than 0 switches off loudness normalization and MPEG-4 DRC. </p>
</td></tr>
<tr><td class="fieldname"><a id="aa34599717f4ed74b0c954cd57edc9f88a4392100c924c0f20a706f55bc7ab3931"></a>AAC_DRC_HEAVY_COMPRESSION&#160;</td><td class="fielddoc"><p>MPEG-4 DRC: En-/Disable DVB specific heavy compression (aka RF mode). If set to 1, the decoder will apply the compression values from the DVB specific ancillary data field. At the same time the MPEG-4 Dynamic Range Control tool will be disabled. By default, heavy compression is disabled. </p>
</td></tr>
<tr><td class="fieldname"><a id="aa34599717f4ed74b0c954cd57edc9f88a12cc4d27591e55de82c28ac35266d22e"></a>AAC_DRC_DEFAULT_PRESENTATION_MODE&#160;</td><td class="fielddoc"><p>MPEG-4 DRC: Default presentation mode (DRC parameter handling). <br  />
 Defines the handling of the DRC parameters boost factor, attenuation factor and heavy compression, if no presentation mode is indicated in the bitstream.<br  />
 For options, see <a class="el" href="aacdecoder__lib_8h.html#a3b3a8a254330a529b156adf5983d6016" title="Options for handling of DRC parameters, if presentation mode is not indicated in bitstream.">AAC_DRC_DEFAULT_PRESENTATION_MODE_OPTIONS</a>.<br  />
 Default: <a class="el" href="aacdecoder__lib_8h.html#a3b3a8a254330a529b156adf5983d6016ad245ff440b172bdc32498a6e1388c559">AAC_DRC_PARAMETER_HANDLING_DISABLED</a> </p>
</td></tr>
<tr><td class="fieldname"><a id="aa34599717f4ed74b0c954cd57edc9f88a48210568b17f49caf636afb7bebe8353"></a>AAC_DRC_ENC_TARGET_LEVEL&#160;</td><td class="fielddoc"><p>MPEG-4 DRC: Encoder target level for light (i.e. not heavy) compression.<br  />
 If known, this declares the target reference level that was assumed at the encoder for calculation of limiting gains. The valid values range from 0 (full-scale) to 127 (31.75 dB below full-scale). This parameter is used only with <a class="el" href="aacdecoder__lib_8h.html#a3b3a8a254330a529b156adf5983d6016ad482f24d0af8fa9e8b22a1eb26dcc567">AAC_DRC_PARAMETER_HANDLING_ENABLED</a> and ignored otherwise.<br  />
 Default: 127 (worst-case assumption).<br  />
 </p>
</td></tr>
<tr><td class="fieldname"><a id="aa34599717f4ed74b0c954cd57edc9f88ae7de98c036695901c71e98e589f3bc23"></a>AAC_UNIDRC_SET_EFFECT&#160;</td><td class="fielddoc"><p>MPEG-D DRC: Request a DRC effect type for selection of a DRC set.<br  />
 Supported indices are:<br  />
 -1: DRC off. Completely disables MPEG-D DRC.<br  />
 0: None (default). Disables MPEG-D DRC, but automatically enables DRC if necessary to prevent clipping.<br  />
 1: Late night<br  />
 2: Noisy environment<br  />
 3: Limited playback range<br  />
 4: Low playback level<br  />
 5: Dialog enhancement<br  />
 6: General compression. Used for generally enabling MPEG-D DRC without particular request.<br  />
 </p>
</td></tr>
<tr><td class="fieldname"><a id="aa34599717f4ed74b0c954cd57edc9f88a5e1080a2641ae7b9f8c4618a0c8b8341"></a>AAC_UNIDRC_ALBUM_MODE&#160;</td><td class="fielddoc"><p>MPEG-D DRC: Enable album mode. 0: Disabled (default), 1: Enabled.<br  />
 Disabled album mode leads to application of gain sequences for fading in and out, if provided in the bitstream.<br  />
 Enabled album mode makes use of dedicated album loudness information, if provided in the bitstream.<br  />
 </p>
</td></tr>
<tr><td class="fieldname"><a id="aa34599717f4ed74b0c954cd57edc9f88a605a8fed5c5754dffc63775cc702aae7"></a>AAC_QMF_LOWPOWER&#160;</td><td class="fielddoc"><p>Quadrature Mirror Filter (QMF) Bank processing mode. <br  />
 -1: Use internal default. <br  />
 0: Use complex QMF data mode. <br  />
 1: Use real (low power) QMF data mode. <br  />
 </p>
</td></tr>
<tr><td class="fieldname"><a id="aa34599717f4ed74b0c954cd57edc9f88aa1a5a121f8b03708d9fdcc06f6e882fb"></a>AAC_TPDEC_CLEAR_BUFFER&#160;</td><td class="fielddoc"><p>Clear internal bit stream buffer of transport layers. The decoder will start decoding at new data passed after this event and any previous data is discarded. </p>
</td></tr>
</table>

</div>
</div>
<h2 class="groupheader">Function Documentation</h2>
<a id="a404dd0b9b627d3e9ab765dba98be3eec"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a404dd0b9b627d3e9ab765dba98be3eec">&#9670;&nbsp;</a></span>aacDecoder_AncDataGet()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">LINKSPEC_H <a class="el" href="aacdecoder__lib_8h.html#afbc7e8b4f1613dfd8cb91b681eeb9d41">AAC_DECODER_ERROR</a> aacDecoder_AncDataGet </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="aacdecoder__lib_8h.html#aa9ba2e98e71adc41124eaf8d6e5d6f2d">HANDLE_AACDECODER</a>&#160;</td>
          <td class="paramname"><em>self</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>index</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="machine__type_8h.html#aed5a2dbe32af3a91203f0f5e8697e873">UCHAR</a> **&#160;</td>
          <td class="paramname"><em>ptr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int *&#160;</td>
          <td class="paramname"><em>size</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Get one ancillary data element. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">self</td><td>AAC decoder handle. </td></tr>
    <tr><td class="paramname">index</td><td>Index of the ancillary data element to get. </td></tr>
    <tr><td class="paramname">ptr</td><td>Pointer to a buffer receiving a pointer to the requested ancillary data element. </td></tr>
    <tr><td class="paramname">size</td><td>Pointer to a buffer receiving the length of the requested ancillary data element. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>Error code. </dd></dl>

</div>
</div>
<a id="a8f33403449b41e6a9deda6cb1e07d386"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a8f33403449b41e6a9deda6cb1e07d386">&#9670;&nbsp;</a></span>aacDecoder_AncDataInit()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">LINKSPEC_H <a class="el" href="aacdecoder__lib_8h.html#afbc7e8b4f1613dfd8cb91b681eeb9d41">AAC_DECODER_ERROR</a> aacDecoder_AncDataInit </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="aacdecoder__lib_8h.html#aa9ba2e98e71adc41124eaf8d6e5d6f2d">HANDLE_AACDECODER</a>&#160;</td>
          <td class="paramname"><em>self</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="machine__type_8h.html#aed5a2dbe32af3a91203f0f5e8697e873">UCHAR</a> *&#160;</td>
          <td class="paramname"><em>buffer</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>size</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Initialize ancillary data buffer. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">self</td><td>AAC decoder handle. </td></tr>
    <tr><td class="paramname">buffer</td><td>Pointer to (external) ancillary data buffer. </td></tr>
    <tr><td class="paramname">size</td><td>Size of the buffer pointed to by buffer. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>Error code. </dd></dl>

</div>
</div>
<a id="acca8f4cf9757885d6c654de37a43072f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#acca8f4cf9757885d6c654de37a43072f">&#9670;&nbsp;</a></span>aacDecoder_Close()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">LINKSPEC_H void aacDecoder_Close </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="aacdecoder__lib_8h.html#aa9ba2e98e71adc41124eaf8d6e5d6f2d">HANDLE_AACDECODER</a>&#160;</td>
          <td class="paramname"><em>self</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>De-allocate all resources of an AAC decoder instance. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">self</td><td>AAC decoder handle. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>void. </dd></dl>

</div>
</div>
<a id="a6016435b8679d2793078b10ecaf3d05d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a6016435b8679d2793078b10ecaf3d05d">&#9670;&nbsp;</a></span>aacDecoder_ConfigRaw()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">LINKSPEC_H <a class="el" href="aacdecoder__lib_8h.html#afbc7e8b4f1613dfd8cb91b681eeb9d41">AAC_DECODER_ERROR</a> aacDecoder_ConfigRaw </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="aacdecoder__lib_8h.html#aa9ba2e98e71adc41124eaf8d6e5d6f2d">HANDLE_AACDECODER</a>&#160;</td>
          <td class="paramname"><em>self</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="machine__type_8h.html#aed5a2dbe32af3a91203f0f5e8697e873">UCHAR</a> *&#160;</td>
          <td class="paramname"><em>conf</em>[], </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="machine__type_8h.html#afff0ab3629a68bc1bb3b2a2f4296173f">UINT</a>&#160;</td>
          <td class="paramname"><em>length</em>[]&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Explicitly configure the decoder by passing a raw AudioSpecificConfig (ASC) or a StreamMuxConfig (SMC), contained in a binary buffer. This is required for MPEG-4 and Raw Packets file format bitstreams as well as for LATM bitstreams with no in-band SMC. If the transport format is LATM with or without LOAS, configuration is assumed to be an SMC, for all other file formats an ASC. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">self</td><td>AAC decoder handle. </td></tr>
    <tr><td class="paramname">conf</td><td>Pointer to an unsigned char buffer containing the binary configuration buffer (either ASC or SMC). </td></tr>
    <tr><td class="paramname">length</td><td>Length of the configuration buffer in bytes. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>Error code. </dd></dl>

</div>
</div>
<a id="a245a0e4176fb886d890a86627c55bb24"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a245a0e4176fb886d890a86627c55bb24">&#9670;&nbsp;</a></span>aacDecoder_DecodeFrame()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">LINKSPEC_H <a class="el" href="aacdecoder__lib_8h.html#afbc7e8b4f1613dfd8cb91b681eeb9d41">AAC_DECODER_ERROR</a> aacDecoder_DecodeFrame </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="aacdecoder__lib_8h.html#aa9ba2e98e71adc41124eaf8d6e5d6f2d">HANDLE_AACDECODER</a>&#160;</td>
          <td class="paramname"><em>self</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="machine__type_8h.html#ac024ad9a1e48a3e87d360d519d943512">INT_PCM</a> *&#160;</td>
          <td class="paramname"><em>pTimeData</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="machine__type_8h.html#a4cf9af43a95c45c3d469658098dfbe1a">INT</a>&#160;</td>
          <td class="paramname"><em>timeDataSize</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="machine__type_8h.html#afff0ab3629a68bc1bb3b2a2f4296173f">UINT</a>&#160;</td>
          <td class="paramname"><em>flags</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Decode one audio frame. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">self</td><td>AAC decoder handle. </td></tr>
    <tr><td class="paramname">pTimeData</td><td>Pointer to external output buffer where the decoded PCM samples will be stored into. </td></tr>
    <tr><td class="paramname">timeDataSize</td><td>Size of external output buffer. </td></tr>
    <tr><td class="paramname">flags</td><td>Bit field with flags for the decoder: <br  />
 (flags &amp; AACDEC_CONCEAL) == 1: Do concealment. <br  />
 (flags &amp; AACDEC_FLUSH) == 2: Discard input data. Flush filter banks (output delayed audio). <br  />
 (flags &amp; AACDEC_INTR) == 4: Input data is discontinuous. Resynchronize any internals as necessary. <br  />
 (flags &amp; AACDEC_CLRHIST) == 8: Clear all signal delay lines and history buffers. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>Error code. </dd></dl>

</div>
</div>
<a id="a6d508fce68c364f5dabc9195e701ecf8"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a6d508fce68c364f5dabc9195e701ecf8">&#9670;&nbsp;</a></span>aacDecoder_Fill()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">LINKSPEC_H <a class="el" href="aacdecoder__lib_8h.html#afbc7e8b4f1613dfd8cb91b681eeb9d41">AAC_DECODER_ERROR</a> aacDecoder_Fill </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="aacdecoder__lib_8h.html#aa9ba2e98e71adc41124eaf8d6e5d6f2d">HANDLE_AACDECODER</a>&#160;</td>
          <td class="paramname"><em>self</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="machine__type_8h.html#aed5a2dbe32af3a91203f0f5e8697e873">UCHAR</a> *&#160;</td>
          <td class="paramname"><em>pBuffer</em>[], </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="machine__type_8h.html#afff0ab3629a68bc1bb3b2a2f4296173f">UINT</a>&#160;</td>
          <td class="paramname"><em>bufferSize</em>[], </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="machine__type_8h.html#afff0ab3629a68bc1bb3b2a2f4296173f">UINT</a> *&#160;</td>
          <td class="paramname"><em>bytesValid</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Fill AAC decoder's internal input buffer with bitstream data from the external input buffer. The function only copies such data as long as the decoder-internal input buffer is not full. So it grabs whatever it can from pBuffer and returns information (bytesValid) so that at a subsequent call of aacDecoder_Fill(), the right position in pBuffer can be determined to grab the next data. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">self</td><td>AAC decoder handle. </td></tr>
    <tr><td class="paramname">pBuffer</td><td>Pointer to external input buffer. </td></tr>
    <tr><td class="paramname">bufferSize</td><td>Size of external input buffer. This argument is required because decoder-internally we need the information to calculate the offset to pBuffer, where the next available data is, which is then fed into the decoder-internal buffer (as much as possible). Our example framework implementation fills the buffer at pBuffer again, once it contains no available valid bytes anymore (meaning bytesValid equal 0). </td></tr>
    <tr><td class="paramname">bytesValid</td><td>Number of bitstream bytes in the external bitstream buffer that have not yet been copied into the decoder's internal bitstream buffer by calling this function. The value is updated according to the amount of newly copied bytes. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>Error code. </dd></dl>

</div>
</div>
<a id="a15da43e47179e3ca7b58d6b08620533e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a15da43e47179e3ca7b58d6b08620533e">&#9670;&nbsp;</a></span>aacDecoder_GetFreeBytes()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">LINKSPEC_H <a class="el" href="aacdecoder__lib_8h.html#afbc7e8b4f1613dfd8cb91b681eeb9d41">AAC_DECODER_ERROR</a> aacDecoder_GetFreeBytes </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="aacdecoder__lib_8h.html#aa9ba2e98e71adc41124eaf8d6e5d6f2d">HANDLE_AACDECODER</a>&#160;</td>
          <td class="paramname"><em>self</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="machine__type_8h.html#afff0ab3629a68bc1bb3b2a2f4296173f">UINT</a> *&#160;</td>
          <td class="paramname"><em>pFreeBytes</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Get free bytes inside decoder internal buffer. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">self</td><td>Handle of AAC decoder instance. </td></tr>
    <tr><td class="paramname">pFreeBytes</td><td>Pointer to variable receiving amount of free bytes inside decoder internal buffer. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>Error code. </dd></dl>

</div>
</div>
<a id="a620b5a8c5d7ddd1b525aae1895963e16"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a620b5a8c5d7ddd1b525aae1895963e16">&#9670;&nbsp;</a></span>aacDecoder_GetLibInfo()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">LINKSPEC_H <a class="el" href="machine__type_8h.html#a4cf9af43a95c45c3d469658098dfbe1a">INT</a> aacDecoder_GetLibInfo </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_l_i_b___i_n_f_o.html">LIB_INFO</a> *&#160;</td>
          <td class="paramname"><em>info</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Get decoder library info. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">info</td><td>Pointer to an allocated <a class="el" href="struct_l_i_b___i_n_f_o.html">LIB_INFO</a> structure. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>0 on success. </dd></dl>

</div>
</div>
<a id="a60aa42cb3ddc804b44ce61d877d0501e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a60aa42cb3ddc804b44ce61d877d0501e">&#9670;&nbsp;</a></span>aacDecoder_GetStreamInfo()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">LINKSPEC_H <a class="el" href="struct_c_stream_info.html">CStreamInfo</a>* aacDecoder_GetStreamInfo </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="aacdecoder__lib_8h.html#aa9ba2e98e71adc41124eaf8d6e5d6f2d">HANDLE_AACDECODER</a>&#160;</td>
          <td class="paramname"><em>self</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Get <a class="el" href="struct_c_stream_info.html" title="This structure gives information about the currently decoded audio data. All fields are read-only.">CStreamInfo</a> handle from decoder. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">self</td><td>AAC decoder handle. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>Reference to requested <a class="el" href="struct_c_stream_info.html" title="This structure gives information about the currently decoded audio data. All fields are read-only.">CStreamInfo</a>. </dd></dl>

</div>
</div>
<a id="ac8580fe563e79afe695d7b0b32ea0fed"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac8580fe563e79afe695d7b0b32ea0fed">&#9670;&nbsp;</a></span>aacDecoder_Open()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">LINKSPEC_H <a class="el" href="aacdecoder__lib_8h.html#aa9ba2e98e71adc41124eaf8d6e5d6f2d">HANDLE_AACDECODER</a> aacDecoder_Open </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="_f_d_k__audio_8h.html#a9a3ab43f50232345732813eefad2dd08">TRANSPORT_TYPE</a>&#160;</td>
          <td class="paramname"><em>transportFmt</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="machine__type_8h.html#afff0ab3629a68bc1bb3b2a2f4296173f">UINT</a>&#160;</td>
          <td class="paramname"><em>nrOfLayers</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Open an AAC decoder instance. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">transportFmt</td><td>The transport type to be used. </td></tr>
    <tr><td class="paramname">nrOfLayers</td><td>Number of transport layers. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>AAC decoder handle. </dd></dl>

</div>
</div>
<a id="a7b307c38d35f4a98b3efddc620de8ac7"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a7b307c38d35f4a98b3efddc620de8ac7">&#9670;&nbsp;</a></span>aacDecoder_RawISOBMFFData()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">LINKSPEC_H <a class="el" href="aacdecoder__lib_8h.html#afbc7e8b4f1613dfd8cb91b681eeb9d41">AAC_DECODER_ERROR</a> aacDecoder_RawISOBMFFData </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="aacdecoder__lib_8h.html#aa9ba2e98e71adc41124eaf8d6e5d6f2d">HANDLE_AACDECODER</a>&#160;</td>
          <td class="paramname"><em>self</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="machine__type_8h.html#aed5a2dbe32af3a91203f0f5e8697e873">UCHAR</a> *&#160;</td>
          <td class="paramname"><em>buffer</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="machine__type_8h.html#afff0ab3629a68bc1bb3b2a2f4296173f">UINT</a>&#160;</td>
          <td class="paramname"><em>length</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Submit raw ISO base media file format boxes to decoder for parsing (only some box types are recognized). </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">self</td><td>AAC decoder handle. </td></tr>
    <tr><td class="paramname">buffer</td><td>Pointer to an unsigned char buffer containing the binary box data (including size and type, can be a sequence of multiple boxes). </td></tr>
    <tr><td class="paramname">length</td><td>Length of the data in bytes. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>Error code. </dd></dl>

</div>
</div>
<a id="afb42ea8892dd828264bd2f6147e0559f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#afb42ea8892dd828264bd2f6147e0559f">&#9670;&nbsp;</a></span>aacDecoder_SetParam()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">LINKSPEC_H <a class="el" href="aacdecoder__lib_8h.html#afbc7e8b4f1613dfd8cb91b681eeb9d41">AAC_DECODER_ERROR</a> aacDecoder_SetParam </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="aacdecoder__lib_8h.html#aa9ba2e98e71adc41124eaf8d6e5d6f2d">HANDLE_AACDECODER</a>&#160;</td>
          <td class="paramname"><em>self</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="aacdecoder__lib_8h.html#aa34599717f4ed74b0c954cd57edc9f88">AACDEC_PARAM</a>&#160;</td>
          <td class="paramname"><em>param</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="machine__type_8h.html#a4cf9af43a95c45c3d469658098dfbe1a">INT</a>&#160;</td>
          <td class="paramname"><em>value</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Set one single decoder parameter. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">self</td><td>AAC decoder handle. </td></tr>
    <tr><td class="paramname">param</td><td>Parameter to be set. </td></tr>
    <tr><td class="paramname">value</td><td>Parameter value. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>Error code. </dd></dl>
<p>Set QMF mode (might be overriden) 0:HQ (complex) 1:LP (partially complex)</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">self</td><td>Handle of the decoder instance </td></tr>
    <tr><td class="paramname">param</td><td>Parameter to set </td></tr>
    <tr><td class="paramname">value</td><td>Parameter valued </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by&#160;<a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.1
</small></address>
</body>
</html>
